package com.mrguo.dao.bsd;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mrguo.common.dao.MyMapper;
import com.mrguo.entity.bsd.GoodsTemp;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository("goodsTempMapper")
public interface GoodsTempMapper extends MyMapper<GoodsTemp> {

    /**
     * 自定义查询
     * @param page
     * @param map
     * @return
     */
    List<GoodsTemp> listCustom(Page page,
                               @Param("record") Map<String, Object> map);

}